package com.hyzx.qbasic.admin.domain.dao;

import com.hyzx.qbasic.admin.model.po.ProcessCategoryPO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProcessCategoryMapper {

    int deleteProcessCategory(List<Integer> processCategoryIdList);

    int addProcessCategory(ProcessCategoryPO record);

    int editProcessCategory(ProcessCategoryPO record);

    ProcessCategoryPO getProcessCategoryById(@Param("processCategoryId") Integer processCategoryId);

    ProcessCategoryPO getProcessCategoryByKey(@Param("processCategoryKey") String processCategoryKey);

    List<ProcessCategoryPO> getPagedProcessCategoryList(@Param("processCategoryName") String processCategoryName);

    List<ProcessCategoryPO> getAllProcessCategoryList();
}